package com.smomo.blog.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.smomo.blog.entity.BShop;
import com.smomo.blog.vo.SystemShopListVO;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;
import java.util.Map;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author smomo
 * @since 2023-10-30
 */
@Repository
public interface BShopMapper extends BaseMapper<BShop> {
    Page<SystemShopListVO> selectGoodsList(@Param("page") Page<Object> page, @Param("param") Map<String,Object> map);

    List<SystemShopListVO> showFrontGoods();
}
